﻿@model Angel.Web.Models.EditUserModel

@{
    ViewBag.Title = "Edit User";
}
@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)
<html>
	<head>
		<title>Edit User</title>
	</head>
	<body id="jira" class="aui-layout aui-theme-default page-type-admin ">
		<div id="page">
			<section id="content" >
				<h1 id="admin-page-heading">Users</h1>
				<div id="upm-notifications" class="aui-dd-parent upm-admin-headers upm-notifications-jira dd-allocated loaded">
					<div id="upm-notifications-dropdown" class="upm-notifications-dropdown aui-dropdown hidden">
						<h3>Plugin Notifications</h3>
						<p id="upm-no-notifications">There are no plugins requiring your attention at this time.</p>
					</div>
				</div>
				<div class="content-container">
					<div class="content-body aui-panel">
						<form>
							<table class="jiraform maxWidth">
								<tbody>
									<tr class="titlerow">
										<td colspan="2" class="jiraformheader">   
											<h3 class="formtitle">Edit Profile</h3> 
										</td>
									</tr>
									<tr class="descriptionrow">
										<td colspan="2" class="jiraformheader">
											<div class="desc-wrap">Update the user's details below.</div>
										</td>
									</tr>
									<tr class="hidden"><td colspan="2"></td></tr>
									<tr>
                                         @Html.HiddenFor(model => model.Id)
										<td class="fieldLabelArea">Full Name</td>
										<td class="fieldValueArea">
											@Html.TextBoxFor(model => model.FullName)
                                        <span style="color: red">@Html.ValidationMessageFor(model => model.FullName)<span>
										</td>
									</tr>
									<tr>
										<td class="fieldLabelArea">Email</td>
										<td class="fieldValueArea">
											@Html.TextBoxFor(model => model.Email)
                                            <span style="color: red">@Html.ValidationMessageFor(model => model.Email)<span>
										</td>
									</tr>
									<tr class="hidden">
										<td>
										<input id="editName" name="editName" value="aaaa" type="hidden">\
										</td>
									</tr>
									<tr class="buttons-container">
										<td class="jiraformfooter">&nbsp</td>
										<td colspan="1">
											<div class="buttons-container">
												<div class="buttons">
													<input value="Update" id="update_submit" class="aui-button " type="submit">
													@Html.ActionLink("Cancel", "Index")
												</div>
											</div>
										</td>
									</tr>
								</tbody>
							</table>
						</form>
					</div>
				</div>
			</section>
		</div>
	</body>
</html>
}